bpf: encapsulate verifier log state into a structure
authorJakub Kicinski <jakub.kicinski@netronome.com>
Mon, 9 Oct 2017 17:30:10 +0000 (10:30 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 14 Jan 2018 19:45:05 +0000 (19:45 +0000)
commit4cd63eb4df4c2014212d58a7e8d159884a65c322
tree17863fb3f2c4e71929213f9cd0fa16b3bfd5d2c2
parentf61c381277ac0897de9fafc325eb776c45ac46d9
bpf: encapsulate verifier log state into a structure

Put the loose log_* variables into a structure.  This will make
it simpler to remove the global verifier state in following patches.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Simon Horman <simon.horman@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name bpf-encapsulate-verifier-log-state-into-a-structure.patch
include/linux/bpf_verifier.h
kernel/bpf/verifier.c